/*年轻人，只管向前看，不要管自暴自弃者的话*/
import 'package:flutter_plugin/routes/router.dart';
import 'package:get/get.dart';

///create by itz on 2024/1/4 15:15
///desc :
class RouterUtil {
  static void toWebPage(String title, String url) {
    Get.toNamed(AppRoutes.webview, arguments: {"title": title, "url": url});
  }

  static void toLoginPage() {
    Get.toNamed(AppRoutes.login);
  }

  static void toLoginPswPage() {
    Get.toNamed(AppRoutes.loginPsw);
  }

  static void toLoginSmsCodePage(String phone) {
    Get.toNamed(AppRoutes.loginSmsCode, arguments: phone);
  }
}
